<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>Regression</title>
		<script language="JavaScript" type="text/javascript" src="Regresija.js">
		</script>
	</head>
	<body>
		input data:<br>
		<input type=text id="ulazniPodaci" value="2">
		<select id="formula">
			<option value="podaci[[1]]~podaci[[2]]">y~x</option>
			<option value="podaci[[1]]~1+podaci[[2]]">y ~ 1 + x</option>
			<option value="podaci[[1]] ~ poly(podaci[[2]],2)">y ~ poly(x,2)</option>
			<option value="" onclick="ZapisiFormulu()">enter formula manually</option>
		</select>
		<input type="button" id="generator" value="Generate" onclick="Generiraj()">
		<br><br>
				<input type="button" id="okidac" value="Evaluate" onclick = "Izracunaj()">
		result: <input type="text" id="izlaz" value="result">
		<br><br>
		<div id="odjeljak"></div>
		<br>

	</body>
</html>
